using System;
using System.Linq;

namespace ReactiveLang.Util
{
    static class Misc
    {
        public static string InvariantFormat(this string format, object arg)
        {
            return string.Format(System.Globalization.CultureInfo.InvariantCulture, format, arg);
        }
        public static string InvariantFormat(this string format, object arg1, object arg2)
        {
            return string.Format(System.Globalization.CultureInfo.InvariantCulture, format, arg1, arg2);
        }
        public static string InvariantFormat(this string format, params object[] args)
        {
            return string.Format(System.Globalization.CultureInfo.InvariantCulture, format, args);
        }
    }
}